<!-- Block user information module HEADER -->
<ul id="header_user">
<li id="your_account"><a href="{$link->getPageLink('my-account.php', true)}" title="{l s='Your Account' mod='blockuserinfo'}">{l s='Your Account' mod='blockuserinfo'}</a></li>
	<li id="header_user_info">
		{l s='Welcome' mod='blockuserinfo'},
		{if $cookie->isLogged()}
			<span>{$cookie->customer_firstname} {$cookie->customer_lastname}</span>
			(&nbsp;<a href="{$link->getPageLink('index.php')}?mylogout" title="{l s='Log me out' mod='blockuserinfo'}">{l s='Log out' mod='blockuserinfo'}</a>&nbsp;)
		{else}
			(&nbsp;<a href="{$link->getPageLink('my-account.php', true)}">{l s='Log in' mod='blockuserinfo'}</a>&nbsp;)
		{/if}
	</li>
	
	<li id="shopping_cart">
    <span>{l s='Now in your cart' mod='blockuserinfo'}</span>
		{if !$PS_CATALOG_MODE}
	
<div>		<span class="ajax_cart_quantity{if $cart_qties == 0} hidden{/if}">{$cart_qties}</span>
		<span class="ajax_cart_product_txt{if $cart_qties != 1} hidden{/if}">{l s='item' mod='blockuserinfo'}</span>
		<span class="ajax_cart_product_txt_s{if $cart_qties < 2} hidden{/if}">{l s='items' mod='blockuserinfo'}</span>
		{if $cart_qties >= 0}
			<span class="ajax_cart_total{if $cart_qties == 0} hidden{/if}">
				{if $priceDisplay == 1}
					{assign var='blockuser_cart_flag' value='Cart::BOTH_WITHOUT_SHIPPING'|constant}
					{convertPrice price=$cart->getOrderTotal(false, $blockuser_cart_flag)}
				{else}
					{assign var='blockuser_cart_flag' value='Cart::BOTH_WITHOUT_SHIPPING'|constant}
					{convertPrice price=$cart->getOrderTotal(true, $blockuser_cart_flag)}
				{/if}
			</span>
		{/if}
		<span class="ajax_cart_no_product{if $cart_qties > 0} hidden{/if}"><span class="cart_quantity_big">0</span> <span class="ajax_cart_product_txt_zero">{l s='items' mod='blockuserinfo'}</span></span></div>
		{/if}
	</li>
</ul>
<!-- /Block user information module HEADER -->